package cn.itcast.ssh.service;

import java.util.List;

import cn.itcast.ssh.domain.LeaveBill;

public interface ILeaveBillService {

	/**
	 * 查询自己的请假单的信息
	 * @return
	 */
	List<LeaveBill> findLeaveBillList();

	/**
	 * 新增请假记录
	 * @param leaveBill
	 */
	public void saveLeaveBill(LeaveBill leaveBill);

	/**
	 * 根据请假单ID查找请假单对象
	 * @param id
	 * @return
	 */
	public LeaveBill findLeaveBillById(Long id);

	/**
	 * 根据ID删除请假单
	 * @param id
	 */
	public void deleteLeaveBillById(Long id);

}
